package com.mkaech.eece411;

import java.rmi.*;
import java.rmi.server.UnicastRemoteObject;

public class ChatClient  extends UnicastRemoteObject implements IChatClient
{
	MessageQueue mQueue;
	
	public ChatClient(MessageQueue queue) throws RemoteException
	{
		mQueue = queue;
	}

	public void SendMessageToClient(String message) throws RemoteException
	{
		mQueue.enqueue(message);
	}
}
